how to use magic